<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.com">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<body>

<h1>test</h1>

<div>

    <a th:text="${name}">aaaa</a>
    <br>
    <a th:text="${age}">bbbb</a>

</div>


</body>
</html>

<script type="text/javascript" src="/js/axios.min.js"></script>
<script type="text/javascript" src="/js/vue.js"></script>
<script>

    axios.get("http://localhost:8080/test01?name=xj&age=22")
        .then(function (response){
            console.log(response);
            alert(response.data);
        })
        .catch(function (response){
            console.log("==================" + response);
        })

</script>